home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_gsl.idb / usr / freeware / include / gsl_linalg.h.z / gsl_linalg.h
Encoding:
C/C++ Source or Header  |  1999-07-16  |  1.5 KB  |  70 lines

  1. /* Author:  G. Jungman
  2.  * RCS:     $Id: gsl_linalg.h,v 1.3 1999/01/17 16:13:59 jungman Exp $
  3.  */
  4. #ifndef GSL_LINALG_H
  5. #define GSL_LINALG_H
  6.  
  7. #include <gsl_vector.h>
  8. #include <gsl_matrix.h>
  9.  
  10.  
  11. /* Singular Value Decomposition
  12.  *
  13.  * exceptions: 
  14.  */
  15. int
  16. gsl_la_decomp_SV_impl(gsl_matrix * A,
  17.                       gsl_matrix * Q,
  18.                       gsl_vector * S,
  19.                       double tolerance);
  20.  
  21. /* LU Decomposition
  22.  *
  23.  * exceptions: 
  24.  */
  25. int
  26. gsl_la_decomp_LU_impl(gsl_matrix * matrix,
  27.                       gsl_vector_int * permutation,
  28.               int * signum);
  29.  
  30.  
  31. /* Linear Solve Using LU Decomposition
  32.  *
  33.  * exceptions: 
  34.  */
  35. int
  36. gsl_la_solve_LU_impl(const gsl_matrix     * lu_matrix,
  37.                      const gsl_vector_int * permutation,
  38.                      const gsl_vector     * rhs,
  39.              gsl_vector           * solution);
  40.  
  41. /* Linear Solve Using Householder Transformations
  42.  *
  43.  * exceptions: 
  44.  */
  45. int
  46. gsl_la_solve_HH_impl(gsl_matrix * matrix,
  47.                      gsl_vector * vec);
  48.  
  49.  
  50. /* Eigensolve by Jacobi Method
  51.  *
  52.  * exceptions: 
  53.  */
  54. int
  55. gsl_la_eigen_jacobi_impl(gsl_matrix * a,
  56.                          gsl_vector * eval,
  57.                          gsl_matrix * evec,
  58.                          unsigned int max_rot, 
  59.                          unsigned int * nrot);
  60.  
  61. /* Invert by Jacobi Method
  62.  */
  63. int
  64. gsl_la_invert_jacobi_impl(const gsl_matrix * a,
  65.                           gsl_matrix * ainv,
  66.                           unsigned int max_rot);
  67.  
  68.  
  69. #endif  /* !GSL_LINALG_H */
  70.